package com.manage.util;

import android.content.Context;
import android.widget.Toast;

/**
 * Toast
 * @author liyoro
 *
 */
public class ToastUtils {
	
	public static void show(Context paramContext, Exception paramException, boolean paramBoolean) {
		if (!paramBoolean)
			return;
		Toast.makeText(paramContext, paramException.getMessage(), 0).show();
	}

	public static void show(Context paramContext, String paramString, boolean paramBoolean) {
		if (!paramBoolean)
			return;
		Toast.makeText(paramContext, paramString, 0).show();
	}
}